package com.zhxy.manager.dao;

import com.zhxy.manager.entity.Library;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LibraryDao {
    //新增
    int add(Library library);
    //查询
    List<Library> selectAll();
    //删除
    int del(int id);
    //批量删除
    int delBatch(int[] ids);
    //修改
    int update(Library library);
    //查询条件
    List<Library> selectWhere(@Param("bookname") String bookname);
}
